package com.wzh.mysending.service;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

/**
 * Created by Hu on 2017/3/22.
 */

public class MainBrocast extends BroadcastReceiver {
    private static final String TAG = "MainBrocast====";

    @Override
    public void onReceive(Context context, Intent intent) {
        intent.setClass(context,MainService.class);
        context.startService(intent);
    }
}
